package com.yoga.manager.admin;

import com.yoga.common.appexception.AppException;
import com.yoga.common.bo.PrivateVipBO;

/**
 * Created by hdx on 2020/10/5.
 */
public interface AdminPrivateVipManager {
    /**
     * 办理私教会员
     * @param privateVipBO
     * @return
     * @throws AppException
     */
    Boolean openPrivateVip(PrivateVipBO privateVipBO) throws AppException;

    /**
     * 通过用户id查询用户私教信息
     * @param yogaUserId
     * @return
     * @throws AppException
     */
    PrivateVipBO getByUserId(Long yogaUserId) throws AppException;

    /**
     * 修改信息
     * @param privateVipBO
     * @return
     * @throws AppException
     */
    Boolean updatePrivateVip(PrivateVipBO privateVipBO) throws AppException;
}
